package com.heima.wemedia.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by ZYJ on 2021/5/24 20:57
 */
@Component
@Data
@ConfigurationProperties(prefix = "spring.cloud.gateway.custom-config")
public class GatewayAuthConfig {
    private List<String> blackList; // IP黑名单
    private List<String> allowUrls; // 放行url路径
}
